package no.la58.scribbles.client;

import no.la58.scribbles.client.services.MessageServiceAsync;
import no.la58.scribbles.client.services.UserServiceAsync;

import com.google.gwt.event.shared.EventBus;

public interface ClientFactory {

    /**
     * Handler for posting new events and subscribe to events
     */
    public EventBus getEventBus();

    /**
     * Handles user info, logged in etc
     */
    public UserServiceAsync getSecurityService();

    /**
     * Broadcast messages and read messages
     */
    public MessageServiceAsync getMessageService();
}
